package controller;

import model.MemberInfo;
import model.dao.ContactCache;
import model.dao.SocialCache;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: NGUYEN VAN NHAN
 * Date: 9/21/14
 * Time: 9:00 PM
 * Long Van Soft Solution Sjc.
 * To change this template use File | Settings | File Templates.
 */
public interface IMemberController {
    public MemberInfo getMemberById(String memberId);

    public ContactCache getContactByMemberIdAndSocialId(String memberId, String socialId);

    public List<SocialCache> getAllSocialByMemberId(String memberId);

    public MemberInfo editMember();

    public MemberInfo createMember(MemberInfo member);

    public MemberInfo getMemberByUserNameAndPassword(String userName, String password);

    public ContactCache getContactCacheByMemberId(String memberId);

    public ContactCache getContactCacheBySocialId(String socialId);
}
